﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Xingming
    {
        private int id;
        private string name;
        private string mas;

        public int Id 
        { 
            get { return this.id; }
            set { this.id = value; }
        }
        public string Name 
        {
            get { return this.name; }
            set { this.name = value; } 
        }
        public string Mas 
        {
            get { return this.mas; }
            set { this.mas = value; } 
        }

        public void aaa() 
        {
            Console.WriteLine("我工号是{0},我姓名是{1},我部门是{2}",this.Id, this.Name, this.Mas);
        }
        public void bbb(int Id,string Name,string Mas) 
        {
            Console.WriteLine("我工号是{0},我姓名是{1},我部门是{2}", Id, Name, Mas);
        }
    }
}